package com.zlp.fdfs.boot.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @title: Demo
 * @projectName: platform
 * @description: BaseResponse
 * @author: Lu Zhaochun
 * @date: 2020/7/16 9:58
 */
@Data
public class BaseResponse implements Response{

    @ApiModelProperty("操作代码")
    String code = SUCCESS_CODE;

    @ApiModelProperty("提示信息")
    String message;

    public BaseResponse() {
    }

    public BaseResponse(String code,String message) {
        this.code = code;
        this.message = message;
    }
}
